package com.lzx.dormsys.bean;

import java.util.List;

import com.lzx.dormsys.entity.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * door对象 dms_door
 *
 * @author lzx
 * @date 2021-09-10
 */
public class DoorBean extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 门编号
     */
    private Long doorId;


    /**
     * 门名称
     */
    private String doorName;


    /**
     * 地理位置
     */
    private Long areaId;


    /**
     * 门所属区域
     */
    private String areaName;


    /**
     * 设备编号
     */
    private Long deviceId;


    /**
     * 设备名称
     */
    private String deviceName;


    /**
     * 备注
     */
    private String mark;

    /**
     * dms信息
     */
    private List<DeviceBean> deviceBeanList;

    public void setDoorId(Long doorId) {
        this.doorId = doorId;
    }

    public Long getDoorId() {
        return doorId;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getMark() {
        return mark;
    }

    public List<DeviceBean> getDmsDeviceList() {
        return deviceBeanList;
    }

    public void setDmsDeviceList(List<DeviceBean> dmsDeviceList) {
        this.deviceBeanList = dmsDeviceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("doorId", getDoorId())
                .append("doorName", getDoorName())
                .append("areaId", getAreaId())
                .append("areaName", getAreaName())
                .append("deviceId", getDeviceId())
                .append("deviceName", getDeviceName())
                .append("mark", getMark())
                .append("deviceBeanList", getDmsDeviceList())
                .toString();
    }
}
